﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartFarmingSystem.Organization.Domain
{
    /// <summary>
    /// 单位表
    /// </summary>
    public class Enterprise
    {
        [Key]
        public int EnterpriseID { get; set; }//单位编号
        public string? EnterpriseFullName { get; set; }//企业全称
        public string? EnterpriseAbbreviation { get; set; }//企业简称
        public string? EnterpriseUpload { get; set; }//企业LOGO上传
        public int IndustryLabelsId { get; set; }//行业标签
        public int ProvinceId { get; set; }//省 ID
        public int CityId { get; set; }//市 ID
        public int CountyId { get; set; }//县 ID
        public string? EnterpriseAddress { get; set; }//详细地址
        public string? EnterprisePhone { get; set; }//企业电话
        public string? EnterpriseUnified { get; set; }//统一社会信用代码
        public string? EnterpriseDescription { get; set; }//描述
        public bool EnterpriseDeactivated { get; set; }//是否停用
        public string? EnterpriseHead { get; set; }//负责人
        public string? EnterpriseFinance { get; set; }//财务负责人
        public string? EnterpriseCharge { get; set; }//分管负责人
        public string? EnterprisePerson { get; set; }//可查看人员
        public int AccountingUnitId { get; set; }//核算单元
    }
}
